package com.zretc.service.impl;
import com.zretc.dao.FinancialSituationMapper;
import com.zretc.pojo.FinancialSituation;
import com.zretc.service.FinancialSituationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FinancialSituationImpl implements FinancialSituationService {
    @Autowired
    private FinancialSituationMapper FinancialSituationMapper;
    /**
     * 根据用户身份证号查询用户信息
     *
     * @param idCard
     * @return
     */
    @Override
    public FinancialSituation findFinancialSituationByIdCard(String idCard) {
        return FinancialSituationMapper.findFinancialSituationByIdCard(idCard);
    }
}
